package com.landscope.issue.mapper;

import com.landscope.issue.entity.Token;
import org.apache.ibatis.annotations.Param;

public interface TokenMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Token record);

    int insertSelective(Token record);

    Token selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Token record);

    int updateByPrimaryKey(Token record);

    Token findByName(@Param("name") String name);
}